﻿@model KMF.WebUI.Areas.KMFadmin.Models.AdminLoginModel
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Login</title>
    @Styles.Render("~/Content/KMFAdmin/style")
    <link href="@Url.Content("~/Areas/KMFadmin/Content/css/box.css")" rel="stylesheet" />
</head>
<body id="page-login">
    <div class="login-container">
        <div class="login-box">
            @using (Html.BeginForm("Login", "AdminLogin", FormMethod.Post, new { id = "loginForm" }))
            {
                <div class="login-form">
                    <h2>Log in to Admin Panel</h2>
                    <div id="messages"></div>
                    <div class="input-box input-left"><label for="username">User Name</label><br>
                        @Html.TextBoxFor(m => m.UserName, new { @class = "required-entry input-text" })
                        @Html.ValidationMessageFor(m => m.UserName)
                        @Html.ValidationMessage("ErrorSummary")
                    </div>
                    <div class="input-box input-right">
                        <label for="login">Password</label><br>
                        @Html.PasswordFor(m => m.Password, new { @class = "required-entry input-text" })
                        @Html.ValidationMessageFor(m => m.Password)                                                                         
                    </div> 
                    <div class="clear"></div>
                    <div>
                        @*<input type="checkbox" name="rememberMe" id="rememberMe" style="padding-left: 0px;margin-left: 0px;"/>*@ 
                        @Html.CheckBox("rememberMe", false, new { style="padding-left: 0px;margin-left: 0px;" }) Duy trì đăng nhập
                    </div>
                    <div class="form-buttons">
                        <a href="/admin/index/forgotpassword/" class="left">Forgot your password?</a>
                        <input type="submit" title="Login" value="Login" class="form-button">
                    </div>
                </div>
                <p class="legal">BABO is a trademark of BABO Inc. Copyright &copy; 2013 BABO Inc.</p>
            }
            <div class="bottom"></div>
        </div> <!-- END .login-box -->
    </div> <!-- END .login-container -->
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/KMFAdmin/jqueryval")
</body>
</html>
